package com.jswlw.web.manager;

import com.jswlw.entity.base.User;

public class SessionAdminManager {

    static ThreadLocal<User> threadLocal = new ThreadLocal();

    public static User getCurrentUser() {
        return threadLocal.get();
    }

    public static void setCurrentUser(User adminUser) {
        threadLocal.set(adminUser);
    }
}
